#ifndef ENCODER_H
#define ENCODER_H

#include <stdint.h>
#include "wifiiot_gpio.h"
#include "wifiiot_gpio_ex.h"

typedef struct
{
	uint8_t sw_state;
	uint8_t buzzer_on_flag;
	uint8_t rotating_l_num;
	uint8_t rotating_r_num;
	
} encoder_data_t;


void encoder_init(void);


#endif
